﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using clf.weighing.entity;

namespace weighing
{
    // <summary>
    /// 称重系统临时指定的派车信息
    /// </summary>
    public class TempSendCarBillVo : BaseVo
    {
        #region Constract
        public TempSendCarBill mTempSendCarBill;
        public TempSendCarBillVo(TempSendCarBill tempSendCarBill)
        {
            mTempSendCarBill = tempSendCarBill;
        }
        #endregion


        public Int64 Id
        {
            get
            {
                return mTempSendCarBill.id;
            }
            set
            {
                mTempSendCarBill.id = value;
                OnPropertyChanged(this, nameof(Id));
            }
        }

        /// <summary>
        /// 注释:指定类型 (0:不指定，1:采购,2:销售,3:内部倒运,4:外来过磅 ,100:未知)
        /// 可空:YES
        /// 默认值:0
        /// </summary>

        public Int32? Type
        {
            get
            {
                return mTempSendCarBill.type;
            }
            set
            {
                mTempSendCarBill.type = value;
                OnPropertyChanged(this, nameof(Type));
            }
        }
        public DateTime? AddTime
        {
            get
            {
                return mTempSendCarBill.addTime;
            }
            set
            {
                mTempSendCarBill.addTime = value;
                OnPropertyChanged(this, nameof(AddTime));
            }
        }


        public Int64? SendCompanyId
        {
            get
            {
                return mTempSendCarBill.sendCompanyId;
            }
            set
            {
                mTempSendCarBill.sendCompanyId = value;
                OnPropertyChanged(this, nameof(SendCompanyId));
            }
        }


        public Int64? ReceiveCompanyId
        {
            get
            {
                return mTempSendCarBill.receiveCompanyId;
            }
            set
            {
                mTempSendCarBill.receiveCompanyId = value;
                OnPropertyChanged(this, nameof(ReceiveCompanyId));
            }
        }

        public Int64? TranceCompanyId
        {
            get
            {
                return mTempSendCarBill.tranceCompanyId;
            }
            set
            {
                mTempSendCarBill.tranceCompanyId = value;
                OnPropertyChanged(this, nameof(TranceCompanyId));
            }
        }

        public Int64? MaterialId
        {
            get
            {
                return mTempSendCarBill.materialId;
            }
            set
            {
                mTempSendCarBill.materialId = value;
                OnPropertyChanged(this, nameof(MaterialId));
            }
        }

        /// <summary>
        /// 注释:过磅员
        /// 可空:YES
        /// </summary>
        public Int64? UserId
        {
            get
            {
                return mTempSendCarBill.userId;
            }
            set
            {
                mTempSendCarBill.userId = value;
                OnPropertyChanged(this, nameof(UserId));
            }
        }

        /// <summary>
        /// 注释:最后操作姓名
        /// 可空:YES
        /// </summary>

        public String UserName
        {
            get
            {
                return mTempSendCarBill.userName;
            }
            set
            {
                mTempSendCarBill.userName = value;
                OnPropertyChanged(this, nameof(UserName));
            }
        }


        public Int32? IsDelete
        {
            get
            {
                return mTempSendCarBill.isDelete;
            }
            set
            {
                mTempSendCarBill.isDelete = value;
                OnPropertyChanged(this, nameof(IsDelete));
            }
        }

        /// <summary>
        /// 注释:磅秤ID
        /// 可空:YES
        /// 默认值:0
        /// </summary>
        public Int64? ScaleId
        {
            get
            {
                return mTempSendCarBill.scaleId;
            }
            set
            {
                mTempSendCarBill.scaleId = value;
                OnPropertyChanged(this, nameof(ScaleId));
            }
        }

        /// <summary>
        /// 注释:客户端ID
        /// 可空:YES
        /// 默认值:0
        /// </summary>

        public Int64? ClientId
        {
            get
            {
                return mTempSendCarBill.clientId;
            }
            set
            {
                mTempSendCarBill.clientId = value;
                OnPropertyChanged(this, nameof(ClientId));
            }
        }


        public String Remark
        {
            get
            {
                return mTempSendCarBill.remark;
            }
            set
            {
                mTempSendCarBill.remark = value;
                OnPropertyChanged(this, nameof(Remark));
            }
        }

        /// <summary>
        /// 注释:交换收货货信息
        /// 可空:YES
        /// 默认值:0
        /// </summary>

        public Boolean? ChangedSendReceive
        {
            get
            {
                return mTempSendCarBill.changedSendReceive;
            }
            set
            {
                mTempSendCarBill.changedSendReceive = value;
                OnPropertyChanged(this, nameof(ChangedSendReceive));
            }
        }
    }
}
